#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include <QStackedWidget>
#include "detail.h"
#include "charts.h"
#include "dataline.h"
#include "mvdwindow.h"
namespace Ui {
class MainWindow;
}

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    explicit MainWindow(QWidget *parent = 0);
    ~MainWindow();

private slots:
    void on_homePageButton_clicked();

    void on_chartButton_clicked();

    void on_historicalButton_clicked();

    void on_settingButton_clicked();

private:
    Ui::MainWindow *ui;

    QStackedWidget *stackedWidget;

    Detail * detailWidget;

    charts * chartWidget;

    DataLine* hisWidget;

    MvdWindow *mvd;
};

#endif // MAINWINDOW_H
